package com.gwcm.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gwcm.common.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@TableName(value = "pos_sale")
@Data
public class Sale extends BaseEntity implements Serializable {
    private Long saleId;
    private String saleNo;
    private BigDecimal total;
    private Date saleTime;
    private String status;
    private List<SaleItem> saleItems = new ArrayList<>();
    private Payment payment;
    private Long paymentId;
    private String delFlag;
}
